package com.example.demo.service;

import com.example.demo.entity.DataSource;
import com.example.demo.mapper.DatasourceMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface DatasourceService {


    List<DataSource> getAll();

    void loadDataSources();

    boolean create(DataSource dataSource);

    boolean update(DataSource dataSource);

    boolean delete();
}
